package cn.faster.sys.service;

import cn.faster.sys.entity.SysRoleMenuCenter;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 角色权限中间表 服务类
 * </p>
 *
 * @author xiaoCoder
 * @since 2021-06-10
 */

public interface SysRoleMenuCenterService extends IService<SysRoleMenuCenter>{

    /**
	* 根据id查询RoleMenuCenter
	*/
    SysRoleMenuCenter getRoleMenuCenterById(Long id) throws Exception;

    /**
	* 查询RoleMenuCenter列表
	*/
    List<SysRoleMenuCenter> listRoleMenuCenter(Map<String, Object> map) throws Exception;


    /**
	* 新增RoleMenuCenter
	*/
	Integer addRoleMenuCenter(SysRoleMenuCenter sysRoleMenuCenter) throws Exception;

	/**
	* 更新RoleMenuCenter
	*/
	Integer updateRoleMenuCenter(SysRoleMenuCenter sysRoleMenuCenter) throws Exception;

	/**
	* 根据id物理删除RoleMenuCenter
	*/
	Integer deleteRoleMenuCenterById(Integer id)	throws Exception;

	/**
	* 根据id逻辑删除RoleMenuCenter
	*/
	Integer removeRoleMenuCenterById(Integer id)	throws Exception;
}
